Merged
Conversation
1800c15 to
a02c099
Compare
Contributor
Author
|
While it's still a WIP, I'd love to get some feedback. Thank you! |
Owner
|
At first glance that looks pretty good, kudos for adding tests |
952d087 to
13777a5
Compare
Contributor
Author
mawww
reviewed
Mar 5, 2026
I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
- added InsertChar hooks for newline and closing brace - added comment continuation for // and /// comments - added automatic indentation after opening braces - added automatic de-indentation for closing braces - added automatic de-indentation for closures - added basic tests - implementation based on zig.kak patterns Signed-Off-By: Paal Øye-Strømme <paal.o.eye@gmail.com>
- added support for \() interpolation syntax in Swift strings - added support for both regular strings and multiline strings Signed-Off-By: Paal Øye-Strømme <paal.o.eye@gmail.com>
13777a5 to
da005d6
Compare
- added better numeric literal support (hex, binary, octal, floats with underscores) - expanded keyword list with async/await, actor, protocol, and other modern Swift keywords - expanded type list including standard library types and SIMD types - added compilation directive support (#if, #available, etc.) - added discard literal (_) highlighting - updated attributes list with modern Swift modifiers - added support for escaped identifiers using backticks Signed-Off-By: Paal Øye-Strømme <paal.o.eye@gmail.com>
da005d6 to
4c579de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
List of improvements
InsertCharhooks for newline and closing brace//and///comments\()interpolation syntax in Swift stringsSIMDtypes#if,#available, etc.)_highlighting